package com.ckh.springboot.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ckh.springboot.entity.JoinClass;
import com.ckh.springboot.entity.SysClass;
import com.ckh.springboot.mapper.JoinClassMapper;
import com.ckh.springboot.mapper.SysClassMapper;
import com.ckh.springboot.service.IJoinClassService;
import com.ckh.springboot.service.ISysClassService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author ckh
 * @since 2022-04-04
 */
@Service
public class JoinClassServiceImpl extends ServiceImpl<JoinClassMapper, JoinClass> implements IJoinClassService {


    @Override
    public List<SysClass> getStudentJoinClass(Integer userId) {
        return baseMapper.getStudentJoinClass(userId);
    }
}
